﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace NLBS.Entity
{
    public class GuestBook
    {
        private int _guestBookID;

        /// <summary>
        /// 留言编号
        /// </summary>
        [DataMember]
        public virtual int GuestBookID
        {
            get { return _guestBookID; }
            set { _guestBookID = value; }
        }

        private string _userName;

        /// <summary>
        /// 留言用户
        /// </summary>
        [DataMember]
        public virtual string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private int _userID;
        /// <summary>
        /// 留言用户ID,默认为0
        /// </summary>
        [DataMember]
        public virtual int UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }

        private string _content;

        /// <summary>
        /// 留言内容
        /// </summary>
        [DataMember]
        public virtual string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        private string _editMark;

        /// <summary>
        /// 编辑标记
        /// </summary>
        [DataMember]
        public virtual string EditMark
        {
            get { return _editMark; }
            set { _editMark = value; }
        }

        private string _ubbFlags;

        /// <summary>
        /// UBB标记
        /// </summary>
        [DataMember]
        public virtual string UbbFlags
        {
            get { return _ubbFlags; }
            set { _ubbFlags = value; }
        }

        private DateTime _postTime;

        /// <summary>
        /// 留言时间
        /// </summary>
        [DataMember]
        public virtual DateTime PostTime
        {
            get { return _postTime; }
            set { _postTime = value; }
        }

        private string _replyUserName;
        /// <summary>
        /// 回复时间
        /// </summary>
        [DataMember]
        public virtual string ReplyUserName
        {
            get { return _replyUserName; }
            set { _replyUserName = value; }
        }

        private string _reply;

        /// <summary>
        /// 回复内容
        /// </summary>
        [DataMember]
        public virtual string Reply
        {
            get { return _reply; }
            set { _reply = value; }
        }

        private DateTime _replyTime;

        /// <summary>
        /// 回复时间
        /// </summary>
        [DataMember]
        public virtual DateTime ReplyTime
        {
            get { return _replyTime; }
            set { _replyTime = value; }
        }

        private bool _hidden;
        /// <summary>
        /// 是否隐藏留言
        /// </summary>
        [DataMember]
        public virtual bool Hidden
        {
            get { return _hidden; }
            set { _hidden = value; }
        }

        private string _ip;

        /// <summary>
        /// 留言用户IP
        /// </summary>
        [DataMember]
        public virtual string IP
        {
            get { return _ip; }
            set { _ip = value; }
        }
    }
}
